{% extends "base.html" %} {% block title %}Admin Dashboard - Quick Care Connect{% endblock %} {% block content %}
Admin Panel

{{ get_current_user().name }}

Quick Navigation
{% include 'admin/_management_sidebar.html' %}

System Overview

Today is {{ now_local().strftime('%A, %d %B %Y') }}

SYSTEM ACTIVE
Active Medical Staff
{{ stats.doctors.approved }}
{% if stats.doctors.pending > 0 or stats.appeals > 0 %} Action Needed {% endif %}
{% if stats.doctors.pending > 0 %} {{ stats.doctors.pending }} Pending {% endif %} {% if stats.appeals > 0 %} {{ stats.appeals }} Appeals {% endif %} {% if stats.doctors.pending == 0 and stats.appeals == 0 %} Up to date {% endif %}
Pending Payment Approvals
{{ stats.pending_payments }}
{% if stats.pending_payments > 0 %} Review {% endif %}
{{ stats.appointments.today }} appts scheduled today
Payout Requests
{{ stats.pending_payouts }}
{% if stats.pending_payouts > 0 %} Requires processing {% else %} All caught up {% endif %}
Total Verified Patients
{{ stats.patients }}
Total network users
Pending Payment Reviews
Appointments awaiting visual payment verification
View All
{% if recent_pending_payments %}
{% for payment in recent_pending_payments %} {% endfor %}
Appt ID Doctor Amount Action
#{{ payment.id }} {{ payment.doctor.user.name }} PKR {{ payment.charges }} Review
{% else %}
Inbox Zero
No pending payment screenshots to review.
{% endif %}
Doctors Awaiting Approval
New registration applications to validate
View All
{% if pending_doctors %}
{% for doctor in pending_doctors %}
{% if doctor.user.profile_picture %} Profile {% else %}
{{ doctor.user.name[:2].upper() }}
{% endif %}
{{ doctor.user.name }}
{{ doctor.specialization }}
Evaluate Form
{% endfor %}
{% else %}
All Caught Up
No pending registrations found.
{% endif %}
Payout Requests
Doctors requesting balance withdrawals
Manage Payouts
{% if recent_payouts %}
{% for request in recent_payouts %} {% endfor %}
Date Doctor Requested amount Action
{{ request.requested_at.strftime('%d %b, %Y') }} {{ request.doctor.user.name }} PKR {{ request.amount }} Process
{% else %}
No Pending Payouts
All doctor withdrawal requests are fulfilled.
{% endif %}
Pending Health Articles
Submitted blogs awaiting moderation
Content Moderation
{% if pending_blogs %}
{% for blog in pending_blogs %} {% endfor %}
Title Author Action
{{ blog.title }}
{{ blog.doctor.user.name }} Review Post
{% else %}
Content Queue Empty
No new health articles waiting for approval.
{% endif %}
{% block extra_js %} {% endblock %} {% endblock %}